<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>更新学生</title>
    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" href="/webjars/bootstrap/3.3.5/css/bootstrap.min.css" />
    <script src="/webjars/jquery/3.1.1/jquery.min.js"></script>
    <script src="/webjars/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
<body>
<h1 align="center">学生个人信息</h1>
<hr><br><br>

<strong>学号：</strong><span th:text="${student.getSno()}"/><br><br>
    <strong>姓名：</strong><span th:text="${student.getSname()}"/><br><br>
<strong>性别：</strong><span th:if="${student.getSsex()}" >男</span>
<span th:unless="${student.getSsex()}">女</span><br><br>
    <strong>年龄：</strong><span th:text="${student.getSage()}"/><br><br>
    <strong>专业：</strong><span th:text="${student.getSdept()}"/><br><br>

<span>修改成功!</span>
<br/><br/>
<a class="btn btn-danger" th:href="@{/}" >跳转到首页</a><br/><br/>
</body>
</html>